﻿using RecruitStudents.Client.BLL.Impl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RecruitStudents.Client.BLL
{
    public class ServiceHelper
    {
        #region BLLAppointment
        private static BLLAppointment _BLLAppointment;
        public static BLLAppointment CreateAppointmentService()
        {
            if (_BLLAppointment == null)
            {
                _BLLAppointment = new BLLAppointment();
            }
            return _BLLAppointment;
        }
        #endregion 

        #region BLLBase
        private static BLLBase _BLLBase;
        public static BLLBase CreateBaseService()
        {
            if (_BLLBase == null)
            {
                _BLLBase = new BLLBase();
            }
            return _BLLBase;
        }
        #endregion 

        #region BLLBase
        private static BLLComm _BLLComm;
        public static BLLComm CreateCommService()
        {
            if (_BLLComm == null)
            {
                _BLLComm = new BLLComm();
            }
            return _BLLComm;
        }
        #endregion 

        #region BLLConsult
        private static BLLConsult _BLLConsult;
        public static BLLConsult CreateConsultService()
        {
            if (_BLLConsult == null)
            {
                _BLLConsult = new BLLConsult();
            }
            return _BLLConsult;
        }
        #endregion

        #region BLLExaminee
        private static BLLExaminee _BLLExaminee;
        public static BLLExaminee CreateExamineeService()
        {
            if (_BLLExaminee == null)
            {
                _BLLExaminee = new BLLExaminee();
            }
            return _BLLExaminee;
        }
        #endregion 

        #region BLLFinancial
        private static BLLFinancial _BLLFinancial;
        public static BLLFinancial CreateFinancialService()
        {
            if (_BLLFinancial == null)
            {
                _BLLFinancial = new BLLFinancial();
            }
            return _BLLFinancial;
        }
        #endregion 

        #region BLLLottery
        private static BLLLottery _BLLLottery;
        public static BLLLottery CreateLotteryService()
        {
            if (_BLLLottery == null)
            {
                _BLLLottery = new BLLLottery();
            }
            return _BLLLottery;
        }
        #endregion 

        #region BLLOnSiteSign
        private static BLLOnSiteSign _BLLOnSiteSign;
        public static BLLOnSiteSign CreateOnSiteSignService()
        {
            if (_BLLOnSiteSign == null)
            {
                _BLLOnSiteSign = new BLLOnSiteSign();
            }
            return _BLLOnSiteSign;
        }
        #endregion 

        #region BLLScore
        private static BLLScore _BLLScore;
        public static BLLScore CreateScoreService()
        {
            if (_BLLScore == null)
            {
                _BLLScore = new BLLScore();
            }
            return _BLLScore;
        }
        #endregion 

        #region BLLSecretary
        private static BLLSecretary _BLLSecretary;
        public static BLLSecretary CreateSecretaryService()
        {
            if (_BLLSecretary == null)
            {
                _BLLSecretary = new BLLSecretary();
            }
            return _BLLSecretary;
        }
        #endregion 
    }
}
